package com.yimingkeji.apiversion.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

/** 自定义request请求处理 */
@Configuration
public class WebMvcRegistrationsConfig extends WebMvcConfigurationSupport {

  @Override
  public RequestMappingHandlerMapping requestMappingHandlerMapping() {
    return new ApiVersioningRequestMappingHandlerMapping();
  }


}
